package com.zmy.springboot.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @PROJECT_NAME：springboot+thymeleaf-1-7
 * @author： zhangyaoyao
 * @date： 2020/1/7 21:57
 * @ 听说你要在海边买一所房子和 你可爱的松子一起住在哪里
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AccountSearch {
    private Integer typeId;
    private String accountOrName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

}
